home *** CD-ROM | disk | FTP | other *** search
/ Acorn Risc Technologies StrongARM CD-ROM / Acorn Risc Technologies StrongARM CD-ROM.iso / ftp / documents / acornusr / 1989 / jul89 < prev    next >
Encoding:
Text File  |  1996-02-28  |  3.7 KB  |  60 lines

  1. 29/01/90
  2. * Welcome to another Customer Hotline column. This will be my last column, 
  3. but more on this later.
  4.  
  5. * With the release of RISC OS comes a new 6502 emulator called !65Host.
  6. This application substantially emulates a BBC model B microcomputer
  7. running OS 1.2. It supports direct screen accesses, paged sideways ROMs
  8. and direct accesses to some hardware. As a result, the Customer Support
  9. department would like your help in compiling lists of software that work
  10. under this emulator, the 65Arthur Tube emulator and the PC emulator. If
  11. you know of any packages which run under these emulators, please write in, 
  12. stating which version of the package you have used, what problems you have 
  13. encountered, which emulator (and version of emulator) and which computer
  14. you are using.
  15.  
  16. * If you have ever wondered how space allocation under DFS & ADFS
  17. differes, or have been stumped by the concept of compaction, read on!
  18. Unlike DFS, ADFS has provision for extending files beyond the space
  19. allocated to them on a disc. On DFS, space is contiguous for a file, and
  20. each file has a space on the disc, starting from a particular sector
  21. number recorded in the catalogue. If there is space after the file on the
  22. disc, the file can expand, but only until the point on the disc where
  23. another file starts, or the end of the disc is reached. Compaction in DFS
  24. removes all free space between files, and therefore no file (except the
  25. last file on the disc) can expand beyond the end of it's final sector. The 
  26. last file on a disc may be identified as the file which comes FIRST in a
  27. *INFO #.* operation on the disc. In ADFS, the file storage is still
  28. contiguous (except for E format under RISC OS on the Archimedes), but file 
  29. expansion beyond the end of the space available is possible. This is
  30. achieved by physically copying the file to a different place on the disc,
  31. where more space is available. The place on the disc previously occupied
  32. by the file then becomes vacant. The obvious corollory of this is that for 
  33. a file to expand beyond the allocated space, there must be a contiguous
  34. space on the disc available of MORE than the space currently occupied by
  35. the file itself. This is of particular importance in database
  36. applications, where files may expand. If a file is stored so that it has
  37. to expand, the best place for it is as the last file on the ADFS disc.
  38. However, there is no simple way for the user to determine which file is
  39. last on the disc. Therefore in, for example, a ViewStore application, it
  40. is sensible for the actual file holding the database information to be on
  41. a disc by itself (in this case the D.file) and other smaller
  42. "housekeeping" files to be on another disc. This means that there is no
  43. obstacle to file expansion. ADFS is, in this manner, like DFS. It is
  44. possible to create files before use on a blank disc (on a Master 128 and
  45. later, use *CREATE), with the last file being created being the database
  46. file itself. Then, each file will have its own area to occupy. However,
  47. this method can backfire if one of the smaller files gets too large - it
  48. will be copied in front of the database file, potentially causing an
  49. obstacle to its expansion. If the file tries to expand beyond its length
  50. and is physically too large to copy onto the free space available, it will 
  51. report "Disc full" or the potentially more confusing "Compaction
  52. required". NB It should be noted that in both DFS and ADFS, compaction
  53. removes space between files, reducing the capability of earlier files on
  54. the disc to expand without copying.
  55.  
  56. * As I mentioned at the beginning, this will be my last Customer Hotline
  57. column. However, as so many of you have thanked BBC Acorn User and myself
  58. for this column, I have bullied one of my colleagues into taking it over.
  59. I will leave him to introduce himself next month.
  60.